package com.example.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "demo.autoconfig")
public class DemoUserConfig {
    private String name;
    private Integer age;
    private String pro[];

}
